package cn.stronglink.asset.module.readerInfo.service;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
import cn.stronglink.asset.model.ReaderInfo;
import cn.stronglink.asset.module.readerInfo.mapper.ReaderInfoMapper;

@Service
@Transactional(rollbackFor=Exception.class) 
public class ReaderInfoService {

	@Autowired
	private ReaderInfoMapper readerMapper;

	@Transactional(propagation=Propagation.NOT_SUPPORTED,readOnly=true)
	public List<ReaderInfo> getSenderInfo() {
		return readerMapper.getSenderInfo();
	}

}
